package com.wxg.algorithm.chapter02.client;

import com.wxg.algorithm.chapter02.comparable.SelectionSort;
import com.wxg.algorithm.chapter02.util.SortTestHelper;

public class TestSelectionSort {

    public static void main(String[] args) {
        SelectionSort<Integer> selectionSort = new SelectionSort<>();

        int n = 10000;
        Integer[] intArr = SortTestHelper.generateRandomArray(n, 0, n);
//        selectionSort.sort(intArr);
//        SortTestHelper.printArray(intArr);

        SortTestHelper.testSort(selectionSort, intArr);
    }
}
